# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-chromecast
pkgver=7.2.0
pkgrel=0
pkgdesc="Python module to talk to Google Chromecast"
url="https://github.com/balloob/pychromecast"
arch="noarch"
license="MIT"
depends="python3 py3-casttube py3-zeroconf py3-protobuf"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/P/PyChromecast/PyChromecast-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/PyChromecast-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="1b4084b78d67115b0405804d3458a4e418d9a40d2a909e3f3d40cce44b6d37af665daa21e41746047683ca0b26f2ec12259f36de4cf43a1e8415a3cb00173e30  PyChromecast-7.2.0.tar.gz"
